<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<s:url value="/dtree/dtree.css"/>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<s:url value="/js/jquery.js"/>" ></script>
<script type="text/javascript" src="<s:url value="/js/common.js"/>" ></script>
<script type="text/javascript">
var rootUrl = '<s:url value="/" forceAddSchemeHostAndPort="true"/>';
rootUrl = rootUrl.substring(0, rootUrl.lastIndexOf('/') )+'/dtree/'; 
</script>
<script type="text/javascript" src="<s:url value="/dtree/dtree.js"/>"></script>
<script type="text/javascript">
function view(id, name, level){
	//$('#id').val(id);
	//$('#listForm').submit();
	parent.responseSelect(id, name, level);
}
function init(){
	$('#listForm').submit();
}
</script>
<title><s:text name="system.title" /></title>
</head>
<body>

 <script type="text/javascript">
 	  d = new dTree('d');
 	   d.config.useCheckBox = false;
 	   
 	  d.config.useStatusText = true;
 	  d.add(0,-1,'System Menu','javascript:init();');
 	  <%=request.getAttribute("treeData") %>
 	  document.write(d);
 	  
 </script>
</body>
</html>